Ext.onReady(function() {
    new Ext.Viewport({
        layout: "border",
        items: [headerPanel, browsePanel, footerPanel, mainPanel, metaPanel],
        renderTo: Ext.getBody()
    });

});

